package com.yxuan.springboot.mapper;

import com.yxuan.springboot.model.Agents;
import com.yxuan.springboot.model.mysqlModels.TdAndYdKPI;
import com.yxuan.springboot.model.mysqlModels.agentKPI;
import org.apache.ibatis.annotations.Param;
import org.hibernate.validator.constraints.NotEmpty;

import java.util.List;

/**
 * 
 * @author zchao
 *    AgentsMapper层
 * @date 2024-05-24 16:31:04
 */
public interface AgentsMapper extends BaseMapper<Agents> {

    List<agentKPI> getDailyKPI(@Param("agentId") String agentId)throws Exception;

    //查看今天与昨天业绩
    TdAndYdKPI getTdAndYdKPI(@Param("agentId")String agentId)throws Exception;
	
}
